package com.oa.admin.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.Date;
import java.util.List;

@Data
public class UsingApplicationAddDTO {

    @ApiModelProperty(value = "申请人,当前登录者id")
//    @NotNull(message = "<申请人>字段<proposer>不能为空！")
    private String proposer;

    @ApiModelProperty(value = "日期")
    @NotNull(message = "<日期>字段<applyDate>不能为空！")
    private Date applyDate;

    @ApiModelProperty(value = "发往单位")
    @NotNull(message = "<发往单位>字段<sentUnit>不能为空！")
    private String sentUnit;

    @ApiModelProperty(value = "用印文件名称")
    @NotNull(message = "<用印文件名称>字段<fileName>不能为空！")
    private String fileName;

    @ApiModelProperty(value = "文件份数")
    @NotNull(message = "<文件份数>字段<num>不能为空！")
    private String num;

    @ApiModelProperty(value = "加盖何种印章(印章id)")
    @NotNull(message = "<印章id>字段<sealId>不能为空！")
    private String sealId;

    @ApiModelProperty(value = "文件类别")
//    @NotNull(message = "<文件类别>字段<fileType>不能为空！")
    private String fileType;

    @ApiModelProperty(value = "备注")
    private String remake;

    @ApiModelProperty(value = "用印申请附件集合")
    private List<UsingApplicationFileAddDTO> usingApplicationFileAddDTOList;

}
